<!-- 组态 》 设置 -->

<template>
  <el-card
    class="_3d-model-setting-page"
    shadow="never"
    body-style="display: flex; flex-direction: column; height: calc(100% - 20px); padding: 10px 15px; overflow: hidden"
  >
    <div class="_3d-model-setting-page__header">
      <el-select v-model="configType" placeholder="请选择组态类型">
        <el-option v-for="(label, key) in DICT.TYPE" :key="key" :label="label" :value="Number(key)"> </el-option>
      </el-select>
    </div>

    <div class="_3d-model-setting-page__wrapper">
      <ModelFrame :path="`/setting/${configType}`" />
    </div>
  </el-card>
</template>

<script>
// ============================== 导入依赖 ============================== //

import index from './store/index'

// ============================== 导出组件 ============================== //

export default {
  /**
   * 名称定义 (实际使用名称)
   */
  name: 'ModelSetting',

  mixins: [index],
}
</script>

<style lang="sass" scoped>
@import './index.scss'
</style>
